<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>会议资料列表</title>
    <?php require 'templates/common/head.html'; ?>
    <link href="../business/resource/css/hermes.css" rel="stylesheet">
    <link href="../business/resource/js/calendar/calendar-blue.css" type="text/css" rel="stylesheet">
    <script src="../business/resource/js/calendar/calendar.js" type="text/javascript"></script>
    <script src="../business/resource/js/hermes.js"></script>
    <style type="text/css">
        .divleft{width: 10%; float: left; text-align:center; border-right: solid 1px #d5d5d5; margin-right: 2% }
        .divleft2{width: 8%; min-width: 8%;min-height: 10px; float: left; text-align:center; border-right: solid 1px #d5d5d5; margin-right: 0% }
        .divright{ width: 10%; float:right; text-align: center;}
        .divleft3{ width: 10%; float: left; text-align:center;  border-right: solid 1px #d5d5d5; margin-right: 2% }

    </style>

</head>
<body>


<div class="container-fluid">
    <?php require 'templates/common/nav.html'; ?>
    <div class="panel panel-primary">
        <div class="panel-heading text-center"><h3 class="panel-title">会议资料列表</h3></div>
        <div class="panel-body" style="font-size: 18px;">
            <a href="<?=$data_edit_url?>&h_id=<?=$_GET['id']?>" type="button" class="btn btn-primary">添加会议资料</a>
        </div>
        <div class="panel-body">
            <div class="panel-group"   id="accordion" role="tablist" aria-multiselectable="true">
                <div class="panel panel-default" >
                    <div class="panel-heading" style="background-color:#d5d5d5" >
                        <div class="row">
                            <div class="col-xs-4 text-justify" style="width:100%;">
                                <div class="divleft"><b >图标</b></div>
                                <div class="divleft2"><b >名称</b></div>
                                <div class="divleft2"><b  >类型</b></div>

                                <div class="divright"><b  >操作</b></div>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <?php if(empty($column_list)):?>
                        <h4 style="color: red; text-align: center">无数据</h4>
                    <?php endif; ?>
                    <?php foreach($column_list  as $key => $value):?>
                        <div class="panel-heading"  style=" <?php if($key%2==0){echo "background-color:#DFF0D8;";}else{ echo "border-top: solid 2px #ffffff;";}?>">
                            <div class="row">
                                <div class="col-xs-4 text-justify" style="width:100%;">

                                    <div class="divleft"><img  width="60px" height="60px" src="<?=G_SITE_BASE?>/<?=$value['ico']?>" /></span></div>
                                    <div class="divleft2"><?=$value['title']?></div>
                                    <div class="divleft2"><?=$value['type']?></div>
                                    <div class="divright">
                                        <a class="btn btn-primary btn-xs" href="<?=$data_edit_url?>&h_id=<?=$value['meet_id']?>&id=<?= $value['id']?>">编辑</a>
                                     </div>
                                </div>
                            </div>
                        </div>
                    <?php endforeach; ?>

                </div>
            </div>
        </div>
        <?= @$page_meet_video->showpage();?>
    </div>

</div>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="../business/resource/js/jquery-1.11.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../business/resource/js/bootstrap.min.js"></script>
<script language="JavaScript">

</script>
</body>
</html>